﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using System.Data.Entity.ModelConfiguration.Conventions;
using System.Linq;
using System.Text;
using Fly.Log;
using RN.ERP;
using RN.ERP.DTO;
using RN.ERP.Entity.ResultModels;
using System.Data;
using RN.ERP.DTO.EnterpriseModel;
//using RN.ERP.Entity;  2013-5-8 切换DTO注释
//using RN.ERP.Entity.QD;  2013-5-8 切换DTO注释
//using RN.ERP.Entity.ResultModels;  2013-5-8 切换DTO注释

namespace RN.ERP.BLL
{
    public abstract partial class BasePersonBLL : IBll
    {
        protected DbContext baseContext;

        #region 人员基本信息相关

        /// <summary>
        /// 查询身份证号是否存在。
        /// </summary>
        /// <param name="idcard"></param>
        /// <returns></returns>
        public virtual bool IsIDCardExists(string idcard, string areaCode)
        {
            return true;
        }

        /// <summary>
        /// 获取企业下的管理人员信息。
        /// </summary>
        /// <param name="corpUserGuid">企业编号。</param>
        /// <returns></returns>
        public virtual string GetPersonManagers(string corpUserGuid, string condition, string areaCode)
        {
            return null;
        }


        /// <summary>
        /// 获取企业下的普通工人信息。
        /// </summary>
        /// <param name="corpUserGuid">企业编号。</param>
        /// <returns></returns>
        public virtual string GetPersonEmployee(string corpUserGuid, string condition, string areaCode)
        {
            return null;
        }

        /// <summary>
        /// 根据人员编号查询人员信息。
        /// </summary>
        /// <param name="userId">人员编号。</param>
        /// <returns></returns>
        public virtual string GetPersonInfo(string userId, string areaCode)
        {
            return null;
        }

        public virtual string GetEmpGuid(string id, string areaCode)
        {
            return null;
        }

        public virtual string AddPersonInfo(string personInfo, string areaCode)
        {
            return null;
        }

        public virtual string EditPersonInfo(string personId, string personInfo, string areaCode)
        {
            return null;
        }

        public virtual string DeletePersonInfo(string personId, string areaCode)
        {
            return null;
        }

        public virtual string SubmitPersonInfo(string personId, string areaCode)
        {
            return null;
        }

        public virtual string AuditPersonInfo(string personId, string flowCode, string description, bool isFinal, string areaCode)
        {
            return string.Empty;
        }

        public virtual string GetPersonEmployeeByQulityId(string condition, string areaCode)
        {
            return string.Empty;
        }
        public virtual string GetPersonEmployeeByQulityBId(string condition, string areaCode)
        {
            return string.Empty;
        }

        public virtual List<string> GetPersonType(string empGuid, string areaCode)
        {
            return null;
        }

        #endregion

        #region 获取人员资格相关

        /// <summary>
        /// 获取人员资格项集合。
        /// </summary>
        /// <param name="personType">人员类型。</param>
        /// <returns></returns>
        public virtual string GetPersonQualityItems(string personType, string areaCode)
        {
            return null;
        }

        /// <summary>
        /// 获取人员资格集合。
        /// </summary>
        /// <param name="userId">人员编号。</param>
        /// <returns></returns>
        public virtual string GetPersonQualities(string personId, string areaCode)
        {
            return null;
        }

        /// <summary>
        /// 获取资格信息。
        /// </summary>
        /// <param name="qualityId">资格编号。</param>
        /// <returns></returns>
        public virtual string GetPersonQuality(string qualityId, string areaCode)
        {
            return string.Empty;
        }

        public virtual string GetPersonBQuality(string personId, string areaCode)
        {
            return string.Empty;
        }

        #endregion

        #region 人员信息 张剑
        public virtual string GetPersonChanges(string corpName, string corpUserGuid, string userName, string flowCode, string areaCode)
        {
            return string.Empty;
        }

        /// <summary>
        /// 获取企业下的普通工人信息列表
        /// </summary>
        /// <param name="corpUserGuid">企业Guid</param>
        /// <param name="condition">sql where</param>
        /// <param name="pageIndex">页数</param>
        /// <param name="pageSize">条数</param>
        /// <returns></returns>
        public virtual string GetPersonEmployees(string corpUserGuid, string condition, int pageIndex, int pageSize, out int count, string areaCode)
        {
            count = 0;
            return null;
        }

        public virtual string GetPersonManagersByCorpUserGuid(string corpUserGuid, string condition, int pageIndex, int pageSize, out int count, string type, string areaCode)
        {
            count = 0;
            return string.Empty;
        }

        /// <summary>
        /// 获取企业下的指定工人的证书列表
        /// </summary>
        /// <param name="corpUserGuid">企业Guid</param>
        /// <param name="condition">sql where</param>
        /// <returns></returns>
        public virtual string GetPersonTitleDetails(string corpUserGuid, string condition, string areaCode)
        {
            return null;
        }

        #endregion

        #region 人员、人员资质的 增删改、上报、审核

        public virtual DTO.OperationResult EmpInfoAdd(string corpUserGuid, tb_Emp_Manager emp, IList<Tb_Emp_TitleDetails> empQualities, IList<tb_WorkExperience> workExps, bool isReturnModel, string areaCode)
        {
            return null;
        }

        public virtual DTO.OperationResult EmpInfoEdit(string corpUserGuid, string roleid, tb_Emp_Manager emps, IList<Tb_Emp_TitleDetails> empQualities, IList<tb_WorkExperience> workExps, string areaCode)
        {
            return null;
        }

        public virtual DTO.OperationResult EmpInfoDel(IList<string> empGuids, string areaCode)
        {
            return null;
        }

        public virtual DTO.OperationResult EmpInfoPost(string corpUserGuid, IList<string> emps, User_Log log, string areaCode)
        {
            return null;
        }

        public virtual DTO.OperationResult EmpPersonInfoAdd(string corpUserGuid, DTO.tb_Emp_Manager emp, IList<DTO.Tb_Emp_TitleDetailsExt> empQualities, IList<DTO.Tb_Emp_Post> empPosts, bool isReturnModel, string areaCode)
        {
            return null;
        }
        public virtual DTO.OperationResult EmpPersonInfoEdit(string corpUserGuid, DTO.tb_Emp_Manager emps, IList<DTO.Tb_Emp_TitleDetailsExt> empQualities, IList<DTO.Tb_Emp_Post> empPosts, string areaCode)
        {
            return null;
        }
        public virtual IList<DTO.tb_Emp_Manager> GetEmpManagersList(int pageCount, int pageSize, string conditions, string areaCode)
        {
            return null;
        }
        public virtual IList<DTO.tb_Emp_Manager> GetEmpManagersAllList(int pageCount, int pageSize, string conditions, string areaCode)
        {
            return null;
        }
        public virtual int GetEmpManagersAllCount(string conditions, string areaCode)
        {
            return 0;
        }

        public virtual IList<DTO.tb_Emp_Manager> GetEmpManagerByCerts(out int cnt, int pageCount, int pageSize, string conditions, string certList, string areaCode)
        {
            cnt = 0;
            return null;
        }

        public virtual IList<DTO.tb_Emp_Manager> GetEmpManagerCertList(out int cnt, int pageCount, int pageSize, string conditions, string areaCode)
        {
            cnt = 0;
            return null;
        }

        /// <summary>
        /// 查询tb_Emp_Manager审核状态
        /// </summary>
        /// <param name="empGuid"></param>
        /// <returns></returns>
        public virtual string GetEmpInfoFlowCode(string empGuid, string areaCode)
        {
            return string.Empty;
        }

        public virtual DTO.OperationResult EmpStatusEdit(string corpUserGuid, string empGuid, string flowCode, string areaCode)
        {
            return null;
        }

        public virtual DTO.OperationResult EmpQualityAdd(string corpUserGuid, string empGuid, IList<Tb_Emp_TitleDetails> empQualities, bool isReturnModel, string areaCode)
        {
            return null;
        }

        public virtual DTO.OperationResult EmpQualityDel(string educationGUID, string areaCode)
        {
            return null;
        }
        public virtual DTO.OperationResult EmpQualityMultiDel(string educationGUIDs, string empGuid, string areaCode)
        {
            return null;
        }
        public virtual DTO.OperationResult EmpQualityPost(string corpUserGuid, string empGuid, string areaCode)
        {
            return null;
        }

        public virtual DTO.OperationResult EmpQualityEdit(string corpUserGuid, string empGuid, IList<Tb_Emp_TitleDetails> empQualities, string areaCode)
        {
            return null;
        }

        //public virtual DTO.OperationResult EmpTransferOut(string corpUserGuid, string empGuids)
        //{
        //    message = "添加失败";
        //    return false;
        //}

        public virtual string GetCorpList(string dogid, string corpname, string corptype, string username, int[] numarr, out int count, int pageIndex, int pageSize, string areaCode)
        {
            count = 0;
            return string.Empty;
        }

        public virtual string GetManagerCount(string dogid, string corpuserguid, string typeflag, string areaCode)
        {
            return string.Empty;
        }

        public virtual IList<Entity.ResultModels.tb_Emp_Manager1> GetEmpManagerInfoList(int pageCount, int pageSize, string conditions, string areaCode, string systemid, out int count)
        {
            count = 0;
            return null;
        }

        public virtual IList<Entity.ResultModels.tb_Emp_Manager1> GetEmpManagerInfoListReg(int pageCount, int pageSize, string conditions, string areaCode, string systemid, out int count)
        {
            count = 0;
            return null;
        }

        /// <summary>
        /// 获取人员列表
        /// </summary>
        /// <param name="pageCount"></param>
        /// <param name="pageSize"></param>
        /// <param name="conditions"></param>
        /// <returns></returns>
        //public virtual IList<tb_Emp_Manager1> GetEmpManagerList(int pageCount, int pageSize, string conditions)
        public virtual IList<tb_Emp_Manager> GetEmpManagerList(int pageCount, int pageSize, string conditions, string areaCode)
        {
            return null;
        }

        /// <summary>
        /// 获取人员列表条数
        /// </summary>
        /// <param name="pageCount"></param>
        /// <param name="pageSize"></param>
        /// <param name="conditions"></param>
        /// <returns></returns>
        public virtual int GetEmpManagerListCount(string conditions, string areaCode)
        {
            return 0;
        }
        /// <summary>
        /// 获取其他人员列表
        /// </summary>
        /// <param name="pageCount"></param>
        /// <param name="pageSize"></param>
        /// <param name="conditions"></param>
        /// <returns></returns>
        //public virtual IList<tb_Emp_Manager1> GetEmpManagerList(int pageCount, int pageSize, string conditions)
        public virtual IList<tb_Emp_Manager> GetEmpManagerOtherList(int pageCount, int pageSize, string conditions, string certList, string areaCode)
        {
            return null;
        }

        /// <summary>
        /// 获取其他人员列表条数
        /// </summary>
        /// <param name="pageCount"></param>
        /// <param name="pageSize"></param>
        /// <param name="conditions"></param>
        /// <returns></returns>
        public virtual int GetEmpManagerOtherListCount(string conditions, string certList, string areaCode)
        {
            return 0;
        }
        //public virtual IList<tb_Emp_Employee> GetEmployeeInfoList(int pageCount, int pageSize, string conditions, string areaCode)
        //{
        //    return null;
        //}

        /// <summary>
        /// 根据人员身份证号信息查询是否注册
        /// </summary>
        /// <param name="idCard"></param>
        /// <returns></returns>
        public virtual string EmpRegisterValidation(string idCard, string areaCode)
        {
            return string.Empty;
        }

        public virtual string GetEmployManagerInfo(string corpuserguid, string empguid, string areaCode)
        {
            return string.Empty;
        }

        //public virtual string GetEmployeeInfo(string corpuserguid, string empguid)
        //{
        //    return string.Empty;
        //}

        public virtual string GetEmpQualities(string empguid, string areaCode)
        {
            return string.Empty;
        }

        public virtual string GetEmpQualitiesByGroupId(string empGuid, string areaCode, string groupId)
        {
            return string.Empty;
        }

        public virtual DTO.OperationResult EmpInfoAudit(List<string> empGuids, bool isAuditQualities, string areaCode, string log, string flowCode, string description, bool isFinal, bool isunlockandback)
        {
            return null;
        }

        public virtual DTO.OperationResult EmpQualityAudit(string qualities, string areaCode, string log, string flowCode, bool isFinal)
        {
            return null;
        }

        /// <summary>
        /// 主要工作经历 查询
        /// </summary>
        /// <param name="empguid"></param>
        /// <returns></returns>
        public virtual IList<tb_WorkExperience> GetWorkExperienceList(string empguid, string areaCode)
        {
            return null;
        }

        public virtual DTO.OperationResult CheckWorkExperience(string empGuid, string areaCode)
        {
            return null;
        }

        /// <summary>
        /// 人员主要工作经历添加
        /// </summary>
        /// <param name="workExp"></param>
        /// <returns></returns>
        public virtual DTO.OperationResult WorkExperienceAdd(tb_WorkExperience workExp, string areaCode)
        {
            return null;
        }

        /// <summary>
        /// 人员主要工作经历修改
        /// </summary>
        /// <param name="workExp"></param>
        /// <returns></returns>
        public virtual DTO.OperationResult WorkExperienceEdit(tb_WorkExperience workExp, string areaCode)
        {
            return null;
        }

        public virtual DTO.OperationResult SetProjectManger(List<string> empguids, string corpInfo, string roleid, string typeflag, string typename, string areaCode)
        {
            return null;
        }

        public virtual DTO.OperationResult WorkExperienceDel(string workExpId, string empGuid, string areaCode)
        {
            return null;
        }

        public virtual List<KeyValue> GetEmpCounts(string corpUserGuid, string areaCode)
        {
            return null;
        }

        public virtual int GetEmpCount(string conditions, string areaCode)
        {
            return 0;
        }

        #endregion

        #region 企业人员管理
        public virtual string GetEmpManager(string userId, string areaCode)
        {
            return string.Empty;
        }

        /// <summary>
        /// 根据typeFlag、corpUserGuid查询详细
        /// </summary>
        /// <returns></returns>     
        public virtual string GetEmployeeInfo(int typeFlag, string corpUserGuid, string areaCode)
        {
            return string.Empty;
        }

        /// <summary>
        /// 根据corpUserGuid获取5大员列表
        /// </summary>
        /// <returns></returns>
        public virtual IList<tb_Emp_Employee> GetEmployeeInfoList(string corpUserGuid, int type, int systemid, string areaCode)
        {
            return null;
        }

        public virtual IList<tb_Emp_Employee> GetEmployeeInfoFlowList(string corpUserGuid, int type, string areaCode)
        {
            return null;
        }

        /// <summary>
        /// 添加人员信息
        /// </summary>
        /// <param name="emp"></param>
        /// <returns></returns>
        public virtual DTO.OperationResult EmployeeAdd(tb_Emp_Employee emp, string areaCode)
        {
            return null;
        }

        /// <summary>
        /// 修改人员信息
        /// </summary>
        /// <param name="emp"></param>
        /// <returns></returns>
        public virtual DTO.OperationResult EmployeeEdit(string corpUserGuid, IList<tb_Emp_Employee> empList, string areaCode)
        {
            return null;
        }

        public virtual DTO.OperationResult EmployeeChangeAdd(string corpUserGuid, IList<tb_Emp_Employee> emps, string areaCode)
        {
            return null;
        }

        public virtual DTO.OperationResult EmployeeChangeEdit(string corpUserGuid, IList<tb_Emp_Employee> emps, string areaCode)
        {
            return null;
        }

        public virtual DTO.OperationResult EmployeeChangePost(string corpUserGuid, string areaCode)
        {
            return null;
        }

        public virtual DTO.OperationResult EmployeeChangeAudit(string corpUserGuid, string log, string flowCode, string description, bool isFinal, string areaCode)
        {
            return null;
        }

        public virtual string GetEmployeeChangeStatus(string corpUserGuid, string areaCode)
        {
            return null;
        }

        public virtual IList<tb_Emp_Employee> GetEnterpriseEmployeeList(string typeFlags, string corpUserGuid, string areaCode)
        {
            return null;
        }

        public virtual IList<tb_Emp_Employee> GetAdminEmployeeInfoList(string corpUserGuid, string areaCode)
        {
            return null;
        }

        #endregion

        #region 个人端：个人修改密码、主管修改密码、个人验证登录、查询考核结果
        /// <summary>
        /// 个人修改密码
        /// </summary>
        /// <param name="userGuid"></param>
        /// <param name="pwd"></param>
        /// <returns></returns>
        public virtual DTO.OperationResult UpdatePersonPwd(string empGuid, string pwd, string areaCode)
        {
            return null;
        }

        /// <summary>
        /// 主管修改密码
        /// </summary>
        /// <param name="userGuid"></param>
        /// <param name="pwd"></param>
        /// <returns></returns>
        public virtual DTO.OperationResult UpdateUserPwd(string userGuid, string pwd, string areaCode)
        {
            return null;
        }

        /// <summary>
        /// 个人验证登录
        /// </summary>
        /// <param name="IDCard"></param>
        /// <param name="TypeFlag"></param>
        /// <param name="pwd"></param>
        /// <returns></returns>
        public virtual tb_Emp_Manager ValidPersonLogin(string IDCard, string TypeFlag, string pwd, string areaCode)
        {
            return null;
        }

        /// <summary>
        /// 查询考核结果
        /// </summary>
        /// <param name="IDCard"></param>
        /// <param name="TypeFlag"></param>
        /// <param name="pwd"></param>
        /// <returns></returns>
        public virtual IList<e_SorcePublish_2006> GetSorcePublishList(int pageIndex, int pageSize, string condition, out int counts, string areaCode)
        {
            counts = 0;
            return null;
        }

        public virtual IList<e_SorcePublish_2006> GetSorcePublishLists(SorcePublishCondition condition, out int counts, string areaCode)
        {
            counts = 0;
            return null;
        }

        public virtual DataTable GetKaoheRst(string bFlag, string queryStr, string querymember, string outer, string zizhi, int pageIndex, int pageSize, out int dataCount)
        {
            dataCount = 0;
            return null;
        }

        #endregion

        #region 人员押证查询

        /// <summary>
        /// 人员押证查询-获取人员信息（多项）
        /// </summary>
        /// <param name="empIds"></param>
        /// <returns></returns>
        public virtual string GetPersonForXMFZR(string empIds, string areaCode)
        {
            return string.Empty;
        }

        /// <summary>
        /// 人员押证查询
        /// </summary>
        /// <param name="empId"></param>
        /// <returns></returns>
        public virtual string CheckXMFZR(string empId)
        {
            return string.Empty;
        }
        public virtual string CheckXMFZR(string empId, string roleId, string areaCode)
        {
            return string.Empty;
        }

        /// <summary>
        /// 押证操作
        /// </summary>
        /// <param name="empId"></param>
        /// <returns></returns>
        public virtual bool EmpLockCertificate(
            string projectName,
            string ProjectKind,
            string CorpName,
            string xmjlName,
            string xmjlCode,
            string xmjlID,
            string areacode,
            string bidid,
            string zbkindclassid)
        {
            return false;
        }

        /// <summary>
        /// 解证操作
        /// </summary>
        /// <param name="xmjlID"></param>
        /// <param name="bidid"></param>
        /// <returns></returns>
        public virtual bool EmpUnlockCertificate(int xmjlID, int bidid, string areaCode)
        {
            return false;
        }
        #endregion

        #region 人员解锁、加锁 作者：
        public virtual bool LockEmpManagerBCanBid(string empGuid, string areaCode)
        {
            return false;
        }
        public virtual bool UnLockEmpManagerBCanBid(string empGuid, string areaCode)
        {
            return false;
        }
        #endregion

        #region 人员业绩
        /// <summary>
        /// 获取人员业绩列表
        /// </summary>
        /// <param name="typeFlag"></param>
        /// <param name="corpUserGuid"></param>
        /// <returns></returns>
        public virtual IList<DTO.e_OuterPrize> GetManager_e_OuterPrize(string empGuid, int pageIndex, int pageSize, string areaCode)
        {
            return null;
        }

        public virtual int GetManager_e_OuterPrizeCount(string empGuid, string areaCode)
        {
            return 0;
        }
        #endregion

        #region 主管处罚登记

        public virtual IList<DTO.v_e_DeDuck> GetPunishmentList(int dogid, string strwhere, int pageIndex, int pageSize, out int count, string areaCode)
        {
            count = 0;
            return null;
        }

        public virtual v_e_DeDuck GetDeDuck(int id, int itemid, string areaCode)
        {
            return null;
        }

        public virtual IList<DTO.e_PrizeFlag> GetPrizeFlag(string areaCode)
        {
            return null;
        }
        #endregion

        #region 人员转入转出

        public virtual DTO.OperationResult PersonToExit(string corpUserGuid, IList<string> emps, User_Log log, string areaCode)
        {
            return null;
        }

        public virtual DTO.OperationResult PersonToEntry(string corpUserGuid, IList<string> changeSetIDs, User_Log log, string areaCode)
        {
            return null;
        }

        public virtual DTO.OperationResult PersonToPost(IList<string> changeSetIDs, User_Log log, string areaCode)
        {
            return null;
        }

        public virtual DTO.OperationResult PersonToAudit(List<string> changeSetIDs, string AuditFlowCode, User_Log log, string areaCode)
        {
            return null;
        }


        public virtual DTO.OperationResult PersonToExitAudit(List<string> changeSetIDs, string AuditFlowCode, User_Log log, string areaCode)
        {
            return null;
        }

        public virtual DTO.OperationResult PersonToDel(List<string> changeSetIDs, User_Log log, string areaCode)
        {
            return null;
        }

        public virtual string GetEmpGuidBySetID(string setID, string areaCode)
        {
            return string.Empty;
        }

        public virtual IList<V_PersonToEntryList> GetPersonToEntryList(string condition, int pageIndex, int pageSize, out int count, string areaCode)
        {
            count = 0;
            return null;
        }

        public virtual IList<V_PersonToEntryList> GetPersonToExitList(string condition, int pageIndex, int pageSize, out int count, string areaCode)
        {
            count = 0;
            return null;
        }

        public virtual string GetPersonWantToExit(string corpUserGuid, string condition, int pageIndex, int pageSize, out int count, string areaCode)
        {
            count = 0;
            return null;
        }

        public virtual string GetPersonToWaitArea(string condition, int pageIndex, int pageSize, out int count, string areaCode)
        {
            count = 0;
            return null;
        }

        public virtual string GetFlowCodeExit(string corpUserGuid, string empGuid, string areaCode)
        {
            return null;
        }

        public virtual string GetPersonExitLogId(string setId, string corpUserGuid, string empGuid, string areaCode)
        {
            return null;
        }
        #endregion

        #region 是否是项目主管
        public virtual bool CheckEmp(string empguid, string areaCode)
        {
            return true;
        }
        #endregion

        #region 获取人员及资质信息
        public virtual IList<DTO.ManagerInfoDL> GetManagerInfoForDL(string DogID, string areaCode)
        {
            return null;
        }
        #endregion

        #region 公告模块
        public virtual DTO.OperationResult NoticeAdd(Notice notice, List<string> entityguidlist, string areaCode)
        {
            return null;
        }

        public virtual DTO.OperationResult NoticeEdit(IList<DTO.Notice> noticeinfolist, string areaCode)
        {
            return null;
        }

        public virtual DTO.OperationResult NoticeDelete(IList<string> idlist, string areaCode)
        {
            return null;
        }

        public virtual Notice GetNoticeInfo(int id, string areaCode)
        {
            return null;
        }

        public virtual IList<DTO.Notice> GetAllNotice(DTO.Notice noticeinfo, string logintype, string entityguid, string areaCode)
        {
            return null;
        }

        public virtual DTO.OperationResult AddViewCount(int id, string areaCode)
        {
            return null;
        }
        #endregion

        #region 查询操作日志
        /// <summary>
        /// 查询操作日志
        /// </summary>
        /// <param name="objectId">对象唯一标识</param>
        /// <param name="codeType">业务标识</param>
        /// <param name="areaCode">市场范围地区</param>
        /// <returns></returns>
        public virtual IList<User_Log> GetUserLog(string objectId, string areaCode)
        {
            return null;
        }
        /// <summary>
        /// 取得分页日志列表
        /// </summary>
        /// <param name="pageCount"></param>
        /// <param name="pageSize"></param>
        /// <param name="objectId"></param>
        /// <param name="areaCode"></param>
        /// <returns></returns>
        public virtual IList<User_Log> GetUserLogList(int pageCount, int pageSize, string objectId, string userRole, string areaCode)
        {
            return null;
        }

        /// <summary>
        /// 返回日志数
        /// </summary>
        /// <param name="objectId"></param>
        /// <param name="areaCode"></param>
        /// <returns></returns>
        public virtual int GetUserLogCount(string objectId, string userRole, string areaCode)
        {
            return 0;
        }
        #endregion

        /// <summary>
        /// 取得安全考核证
        /// </summary>
        /// <param name="empGuid"></param>
        /// <param name="areaCode"></param>
        /// <returns></returns>
        public virtual IList<DTO.Tb_Emp_TitleDetailsExt> GetEmpTitleDetailsExt(string empGuid, string areaCode)
        {
            return null;
        }


        /// <summary>
        /// 取得职称信息
        /// </summary>
        /// <param name="empGuid"></param>
        /// <param name="areaCode"></param>
        /// <returns></returns>
        public virtual IList<DTO.Tb_Emp_Post> GetEmpEmpPosts(string empGuid, string areaCode)
        {
            return null;
        }

        /// <summary>
        /// 判断身份证是否存在
        /// </summary>
        /// <param name="idCard"></param>
        /// <param name="corpUserGuid"></param>
        /// <param name="empGuid"></param>
        /// <returns></returns>
        public virtual DTO.OperationResult IDCardIsExists(string idCard, string corpUserGuid, string empGuid)
        {
            return null;
        }


        public virtual string GetManagerByZbdlDogid(int dogid)
        {
            return null;
        }
        /// <summary>
        /// 返回审核状态
        /// </summary>
        /// <param name="filePath"></param>
        /// <param name="empGuid"></param>
        /// <param name="optType"></param>
        /// <returns></returns>
        public virtual DTO.OperationResult GetFlowCodes(string corpUserGuid, string empGuid, int optType, string areaCode)
        {
            return null;
        }
        /// <summary>
        /// 取消人员职务信息
        /// </summary>
        /// <param name="empGuids"></param>
        /// <returns></returns>
        public virtual DTO.OperationResult EmpInfoEditTypeFlag(string empGuid, string typeFlag, string areaCode)
        {
            return null;
        }
        /// <summary>
        /// 添加人员职务信息
        /// </summary>
        /// <param name="empGuids"></param>
        /// <returns></returns>
        public virtual DTO.OperationResult EmpInfoAddTypeFlag(string empGuid, string typeFlag, string areaCode)
        {
            return null;
        }
        /// <summary>
        /// 判断企业当前地区审核状态
        /// </summary>
        /// <param name="corpUserGuid"></param>
        /// <param name="areaCode"></param>
        /// <param name="optType"></param>
        /// <returns></returns>
        public virtual DTO.OperationResult CheckCorpStasus(string corpUserGuid, string areaCode, int optType, string currentAreaCode)
        {
            return null;
        }
        /// <summary>
        /// 将人员导入当前市场
        /// </summary>
        /// <param name="corpUserGuid"></param>
        /// <param name="emps"></param>
        /// <param name="areaCode"></param>
        /// <returns></returns>
        public virtual DTO.OperationResult EmpInfoImport(string corpUserGuid, IList<string> emps, string areaCode)
        {
            return null;
        }
        /// <summary>
        /// 返回人员相关图片名
        /// </summary>
        /// <param name="empGuids"></param>
        /// <param name="appId"></param>
        /// <param name="areaCode"></param>
        /// <returns></returns>
        public virtual IList<DTO.PsnFileNames> GetPsnFileNames(IList<string> empGuids, string appId, string areaCode)
        {
            return null;
        }
        /// <summary>
        /// 判断人员是否存在
        /// </summary>
        /// <param name="empGuid"></param>
        /// <returns></returns>
        public virtual DTO.OperationResult CheckEmpIsExist(string empGuid)
        {
            return null;
        }
        #region 判断管理人员审核状态 2013-10-19 毛凯

        /// <summary>
        /// 返回人员在各市场的审核状态
        /// </summary>
        /// <param name="corpUserGuid"></param>
        /// <param name="empGuid"></param>
        /// <param name="areaCode"></param>
        /// <returns></returns>
        public virtual List<FlowStatus> GetEmpFlowStatus(string empGuid, string areaCode)
        {
            return null;
        }
        /// <summary>
        /// 管理人员的审核状态获取方式：
        /// （管理人员在添加时向tb_flowCode中添加审核记录，该记录的areaCode为添加时所选的市场范围，根据该areaCode
        /// 的企业状态判断人员状态
        /// ）
        /// 1.若该管理人员的审核地（tb_flowCode中的areacode）包含当前市场，即该管理人员在当前市场添加，则取企业在当前市场的审核状态
        /// 2.若管理人员的审核地（tb_flowCode中的areacode）不包含当前市场，即该管理人员在其他市场添加，则默认在当前市场范围为不可操作状态，
        /// 认为是审核通过状态
        /// </summary>
        /// <param name="empGuid"></param>
        /// <param name="opt"></param>
        /// <param name="currentAreaCode"></param>
        /// <returns></returns>
        public virtual DTO.OperationResult CheckManagerStatus(string corpUserGuid, string typeFlag, string empGuid, int opt, string areaCode)
        {
            return null;
        }
        #endregion

        /// <summary>
        /// 取得证书编号格式
        /// </summary>
        /// <param name="code"></param>
        /// <param name="typeFlags"></param>
        /// <param name="certLevel"></param>
        /// <param name="areaCode"></param>
        /// <returns></returns>
        public virtual DTO.T_Sys_CodeValidation GetQualityCodeValid(string code, string typeFlags, string certLevel, string areaCode)
        {
            return null;
        }

        /// <summary>
        /// 验证证书编号格式
        /// </summary>
        /// <param name="code"></param>
        /// <param name="typeFlags"></param>
        /// <param name="certLevel"></param>
        /// <param name="certCode"></param>
        /// <param name="areaCode"></param>
        /// <returns></returns>
        public virtual DTO.OperationResult CheckQualityCodeValid(string code, string typeFlags, string certLevel, string certCode, string areaCode)
        {
            return null;
        }

        /// <summary>
        /// 人员综合统计
        /// </summary>
        /// <param name="flowCode"></param>
        /// <param name="areaCode"></param>
        /// <returns></returns>
        public virtual StatisticsStruct GetPersonEmpStatistic(string flowCode, string areaCode)
        {
            return null;
        }

        /// <summary>
        /// 证书综合统计
        /// </summary>
        /// <param name="flowCode"></param>
        /// <param name="areaCode"></param>
        /// <returns></returns>
        public virtual StatisticsStruct GetPersonCertStatistic(string flowCode, string areaCode)
        {
            return null;
        }

        public virtual StatisticsStruct GetPersonExpertStatistic(int classId, string areaCode, byte? isShenBao)
        {
            return null;
        }

        public virtual StatisticsStruct GetExpertBMStatistic(int qcId, string currentCode, string areaCode)
        {
            return null;
        }

        /// <summary>
        /// 判断是否显示人员执业手册
        /// </summary>
        /// <param name="empGuid"></param>
        /// <param name="zgzs"></param>
        /// <param name="areaCode"></param>
        /// <returns></returns>
        public virtual DTO.OperationResult CheckEmpManualIsExist(string corpGuid, string empGuid, string zgzs, string areaCode)
        {
            return null;
        }

        /// <summary>
        /// 取得企业待导入当前市场的人员数
        /// </summary>
        /// <param name="pageCount"></param>
        /// <param name="pageSize"></param>
        /// <param name="conditions"></param>
        /// <param name="areaCode"></param>
        /// <returns></returns>
        public virtual IList<DTO.tb_Emp_Manager> GetEmpImportList(int pageCount, int pageSize, string conditions, string areaCode)
        {
            return null;
        }

        /// <summary>
        /// 取得企业待导入当前市场的人员数
        /// </summary>
        /// <param name="conditions"></param>
        /// <param name="areaCode"></param>
        /// <returns></returns>
        public virtual int GetEmpImportCount(string conditions, string areaCode)
        {
            return 0;
        }

        #region 人员添加执业手册
        public virtual string GetEmpCertList(string condition,
            int pageNum,
            int pageSize,
            string areaCode)
        {
            return string.Empty;
        }

        public virtual int GetEmpCertListCount(string condition, string areaCode)
        {
            return 0;
        }
        /// <summary>
        /// 返回证书审核状态
        /// </summary>
        /// <param name="filePath"></param>
        /// <param name="empGuid"></param>
        /// <param name="optType"></param>
        /// <returns></returns>
        public virtual DTO.OperationResult GetCardFlowCodes(string corpUserGuid, string empGuid, string cardGuid, int codeType, int optType, string areaCode)
        {
            return null;
        }
        /// <summary>
        /// 取得人员职业手册列表
        /// </summary>
        /// <param name="empguid"></param>
        /// <returns></returns>
        public virtual string GetEmpTitleDetails(string empGuid, int codeType, string areaCode)
        {
            return null;
        }
        /// <summary>
        /// 取得人员同企业的项目总监列表
        /// </summary>
        /// <param name="empGuid"></param>
        /// <param name="areaCode"></param>
        /// <returns></returns>
        public virtual DTO.OperationResult GetEmpPersonXMZJ(string empGuid, string areaCode)
        {
            return null;
        }
        /// <summary>
        /// 取得待打印的证书信息
        /// </summary>
        /// <param name="empGuid"></param>
        /// <param name="typeFlag"></param>
        /// <param name="certCode"></param>
        /// <param name="areaCode"></param>
        /// <returns></returns>
        public virtual DTO.OperationResult GetEmpCertInfoPrint(string empGuid, string typeFlag, string certCode, string areaCode)
        {
            return null;
        }

        /// <summary>
        /// 从注册中心取用户的执业注册信息导入数据库
        /// </summary>
        /// <param name="idCard"></param>
        /// <param name="empGuid"></param>
        /// <param name="areaCode"></param>
        /// <returns></returns>
        public virtual DTO.OperationResult ImportEmpTitleDetails(string idCard, string empGuid, string areaCode)
        {
            return null;
        }
        /// <summary>
        /// 导入证书修正
        /// </summary>
        /// <param name="empGuid"></param>
        /// <param name="eduGUIDs"></param>
        /// <param name="remark"></param>
        /// <param name="areaCode"></param>
        /// <returns></returns>
        public virtual DTO.OperationResult EmpTitleDetailsEditRemark(string empGuid, string eduGUIDs, string remark, string areaCode)
        {
            return null;
        }
        #endregion

        #region 专家统计

        /// <summary>
        /// 取得前两级专业
        /// </summary>
        /// <returns></returns>
        public virtual List<DTO.T_Sys_Dict> GetExpertSpecList()
        {
            return null;
        }
        /// <summary>
        /// 人员综合统计
        /// </summary>
        /// <param name="flowCode"></param>
        /// <param name="areaCode"></param>
        /// <returns></returns>
        public virtual StatisticsStruct GetPersonExpertStatistic3(string currentCode, string areaCode)
        {
            return null;
        }
        #endregion

        public virtual List<e_SorcePublish_2006> GetPsnAssessInfo(string empGuid, int bgrade, int bFlag)
        {
            return null;
        }

        #region 考试

        /// <summary>
        /// 主管分配考试
        /// </summary>
        /// <param name="groupCode"></param>
        /// <returns></returns>
        public virtual bool Exam(string groupCode, string groupAddress)
        {
            return false;
        }

        /// <summary>
        /// 企业报名
        /// </summary>
        /// <param name="empGuid"></param>
        /// <param name="corpUserGuid"></param>
        /// <returns></returns>
        public virtual bool ReportExam(string empGuid, string corpUserGuid)
        {
            return false;
        }

        /// <summary>
        /// 获取考试报名列表
        /// </summary>
        /// <param name="pageCount"></param>
        /// <param name="pageSize"></param>
        /// <param name="conditions"></param>
        /// <param name="areaCode"></param>
        /// <returns></returns>
        public virtual string GetReportExamList(int pageCount, int pageSize, string conditions, string areaCode)
        {
            return null;
        }

        public virtual int GetReportExamListCount(string conditions, string areaCode)
        {
            return 0;
        }

        #endregion
        #region 外网人员查询
        public virtual IList<tb_Emp_Manager> GetPortalEmpList(int pageCount, int pageSize, string conditions, string areaCode)
        {
            return null;
        }
        public virtual int GetPortalEmpListCount(string conditions, string areaCode)
        {
            return 0;
        }
        #endregion

        #region 工程类获奖相关服务

        public virtual IList<V_ManagerList> GetManagerListByCorpGuid(DTO.V_ManagerList conditon, string areaCode)
        {
            return null;
        }

        public virtual IList<DTO.tb_Emp_Manager> GetEmpListByCorpID(string strWhere, string areacode)
        {
            return null;
        }

        #endregion

        #region 青岛招标代理系统首页人员信息统计
        public virtual IList<PersonStatisModel> PersonStatis(int roleid, string areacode)
        {
            return null;
        }


        public virtual IList<ManagerModel> GetManagerListZBDL(string queryCondition, out int count, int pageIndex, int pageSize, string areaCode)
        {
            count = 0;
            return null;
        }
        #endregion

        public virtual IList<DTO.tb_emp_expert> GetExpertList(int pageNo, int pageSize, string psnName, string corpName, string areaCode)
        {
            return null;
        }

        public virtual int GetExpertCount(string psnName, string corpName, string areaCode)
        {
            return 0;
        }

        #region 专家注册
        public virtual DTO.OperationResult ExpertReg(DTO.T_Sys_Users user, DTO.Tb_Corp_CompanyInfo corp, DTO.tb_Emp_Manager expert)
        {
            return null;
        }
        #endregion

        #region 报名考试

        /// <summary>
        /// 获取期次列表
        /// </summary>
        /// <param name="sql"></param>
        /// <param name="appid">系统id</param>
        /// <param name="pageIndex">当前页数</param>
        /// <param name="pageSize">一页数量</param>
        /// <param name="dataCount">列表数量</param>
        /// <returns></returns>
        public virtual IList<DTO.Exam_QC> GetExamQCList(
            string sql,
            string appId,
            int pageIndex,
            int pageSize,
            out int dataCount)
        {
            dataCount = 0;
            return null;
        }

        public virtual DTO.OperationResult AddExamQC(DTO.Exam_QC qc)
        {
            return null;
        }

        public virtual DTO.OperationResult EditExamQC(DTO.Exam_QC qc)
        {
            return null;
        }

        public virtual DTO.OperationResult DeleteExamQC(int qcid)
        {
            return null;
        }

        public virtual DTO.Exam_QC GetExamQC(int qcid)
        {
            return null;
        }

        public virtual IList<DTO.Exam_KM> GetExamKMList(
            string sql,
            string appId,
            string qcId,
            int pageIndex,
            int pageSize,
            out int dataCount)
        {
            dataCount = 0;
            return null;
        }

        public virtual DTO.OperationResult AddExamKM(DTO.Exam_KM km)
        {
            return null;
        }

        public virtual DTO.OperationResult EditExamKM(DTO.Exam_KM km)
        {
            return null;
        }

        public virtual DTO.OperationResult DeleteExamKM(int kmid)
        {
            return null;
        }

        public virtual DTO.Exam_KM GetExamKM(int kmid)
        {
            return null;
        }

        public virtual IList<DTO.Exam_Room> GetExamKCList(
            string sql,
            string appId,
            string qcId,
            string kmId,
            int pageIndex,
            int pageSize,
            out int dataCount)
        {
            dataCount = 0;
            return null;
        }

        public virtual DTO.OperationResult AddExamKC(DTO.Exam_Room kc)
        {
            return null;
        }

        public virtual DTO.OperationResult EditExamKC(DTO.Exam_Room kc)
        {
            return null;
        }

        public virtual DTO.OperationResult DeleteExamKC(int kcid)
        {
            return null;
        }

        public virtual DTO.OperationResult PayExamFee(DTO.PayInfo payInfo, int qcID)
        {
            return null;
        }

        public virtual DTO.Exam_Room GetExamKC(int kcid)
        {
            return null;
        }

        public virtual List<DTO.ExamInfo> GetExamBMList(
            string sql,
            string appId,
            int qcId,
            string areaCode,
            DTO.tb_Emp_Manager emp,
            int requestType,
            int pageIndex,
            int pageSize,
            out int dataCount)
        {
            dataCount = 0;
            return null;
        }

        public virtual ExamBM GetBMEmpList(int treeid)
        {
            return null;
        }

        public virtual DTO.OperationResult AddBMInfo(ExamBM bmInfo)
        {
            return null;
        }

        public virtual DTO.OperationResult EditBMInfo(ExamBM bmInfo)
        {
            return null;
        }

        public virtual DTO.OperationResult CancelBMInfo(int bmID)
        {
            return null;
        }

        public virtual DTO.OperationResult IsExamFeePaid(int qcID, Guid userGuid)
        {
            return null;
        }

        public virtual List<ExamChangeEmp> GetBMChangeEmpList(
            int id,
            string appId,
            int pageIndex,
            int pageSize,
            out int dataCount)
        {
            dataCount = 0;
            return null;
        }

        public virtual DTO.OperationResult BMChangeEmp(DTO.Exam_ChangeEmp change)
        {
            return null;
        }

        public virtual List<DTO.ExamEmpRoom> GetKCZCList(
            string sql,
            string appId,
            int kcId,
            string corpUserGuid,
            int pageIndex,
            int pageSize,
            out int dataCount)
        {
            dataCount = 0;
            return null;
        }
        public virtual DataTable BMStatistics(string sql, string appid, int qcid, string areaCode)
        {
            return null;
        }

        public virtual DTO.OperationResult GetScoreList(
           string sql,
           string corpUserGuid,
           string appId,
           int qcId,
           int pageIndex,
           int pageSize,
           out int dataCount)
        {
            dataCount = 0;
            return null;
        }

        public virtual List<DTO.Exam_ZKZ> GetZKZList(
         string sql,
         string appId,
         int qcId,
         string areaCode,
         string corpName,
         string corpUserGuid,
         string empName,
         string ids,
         int pageIndex,
         int pageSize,
         out int dataCount)
        {
            dataCount = 0;
            return null;
        }

        public virtual string GetExpertExamType(Guid userGuid)
        {
            return "";
        }

        #endregion

        #region 项目负责人在建项目查询
        public virtual string GetPMUnderConstruction(string name, string idCard, string certificateCode, string corpName, string areaCode)
        {
            return "";
        }
        #endregion

        #region 专家专业
        public virtual IList<DTO.tb_Expert_Speciality> GetExpertSpecialityList(string empGuid, string areaCode)
        {
            return null;
        }

        public virtual DTO.OperationResult ExpertMainSpecCheck(string empGuid, string areaCode)
        {
            return null;
        }

        public virtual DTO.tb_Expert_Speciality GetExpertSpeciality(string specialityGuid)
        {
            return null;
        }

        public virtual string GetSpecialityTitle(int sid)
        {
            return null;
        }

        public virtual DTO.OperationResult SaveExpertSpecialityInfo(tb_Expert_Speciality sepcModel)
        {
            return null;
        }

        public virtual DTO.OperationResult DeleteSpeciality(string specialityGuid)
        {
            return null;
        }

        public virtual IList<DTO.tb_User_Relation> GetUserRelationList(string userGuid, int flag)
        {
            return null;
        }

        public virtual DTO.tb_User_Relation GetUserRelationInfo(string gid)
        {
            return null;
        }

        public virtual DTO.OperationResult SaveUserRelationInfo(tb_User_Relation relationModel)
        {
            return null;
        }

        public virtual DTO.OperationResult DeleteUserRelation(string gid)
        {
            return null;
        }

        public virtual DTO.OperationResult UpdateUserRelationCorp(string userGuid, int classid, string entityName, string newName)
        {
            return null;
        }

        public virtual DTO.OperationResult DeleteUserRelationCorp(string userGuid, int classid, string entityName)
        {
            return null;
        }
        #endregion

        #region 专家信息管理
        public virtual IList<tb_Emp_Manager> GetExpertList(out int count, int pageNum, int pageSize, string conditions, string areaCode)
        {
            count = 0;
            return null;
        }

        public virtual int GetExpertCount(string conditions, string areaCode)
        {
            return 0;
        }

        public virtual tb_Emp_Manager GetExpertInfo(string conditions, string areaCode)
        {
            return null;
        }

        public virtual DTO.OperationResult EditExpertInfo(DTO.tb_Emp_Manager expertModel)
        {
            return null;
        }

        public virtual DTO.OperationResult ExpertInfoPost(string corpUserGuid, IList<string> emps, User_Log log, string areaCode)
        {
            return null;
        }

        public virtual string GetExpertGLDInfo(string tel)
        {
            return "";
        }

        public virtual string GetNonPostExperts(string areaCode, string name)
        {
            return string.Empty;
        }
        
        public virtual IList<DTO.tb_Emp_Manager> GetOldExpertList(out int count, int pageNum, int pageSize, string conditions)
        {
            count = 0;
            return null;
        }
        #endregion

        #region 聊城证书审核
        public virtual DTO.OperationResult EmpCertPost(string corpUserGuid, IList<string> emps, User_Log log, string areaCode)
        {
            return null;
        }

        public virtual DTO.OperationResult GetCertFlowCode(string corpUserGuid, string certGuid, int optType, string areaCode)
        {
            return null;
        }

        public virtual DTO.OperationResult GetCertFlowByGuid(string eduGuid)
        {
            return null;
        }

        /// <summary>
        /// 职称信息上报、审核
        /// </summary>
        /// <param name="corpUserGuid"></param>
        /// <param name="certs"></param>
        /// <param name="log"></param>
        /// <param name="areaCode"></param>
        /// <returns></returns>
        public virtual DTO.OperationResult EmpPostInfoPost(string corpUserGuid, IList<string> certs, User_Log log, string areaCode)
        {
            return null;
        }
        #endregion

        /// <summary>
        /// 锁定人员
        /// </summary>
        /// <param name="empGuids"></param>
        /// <param name="areaCode"></param>
        /// <returns></returns>
        public virtual DTO.OperationResult SetPersonIsZZemp(IList<string> empGuids, byte empFlag, string areaCode)
        {
            return null;
        }

        #region 获取人员信息列表 zhjj
        public virtual List<DTO.tb_Emp_Manager> GetCorpEmpList(string CorpUserGuid, string conditions, int pageCount, int pageSize, out int count)
        {
            count = 0;
            return null;
        }

        public virtual int GetManagerZbRegisterByZBDL(string corpUserGuid)
        {
            return 0;
        }
        #endregion

        #region 聊城新增人员服务
        /// <summary>
        /// 批量导入人员
        /// </summary>
        /// <param name="data"></param>
        /// <param name="corpguserguid"></param>
        /// <param name="areaCode"></param>
        /// <param name="creator"></param>
        /// <returns></returns>
        public virtual List<EmpCertificateImportEntity> BatchImportPersonInfo(List<EmpCertificateImportEntity> data, int? GroupID, string corpguserguid, string areaCode, string creator)
        {
            return null;

        }

        /// <summary>
        /// 按证书类别分组取得人员列表
        /// </summary>
        /// <param name="pageCount"></param>
        /// <param name="pageSize"></param>
        /// <param name="conditions"></param>
        /// <param name="areaCode"></param>
        /// <returns></returns>
        public virtual IList<DTO.tb_Emp_Manager> GetEmpManagerByCertList(int pageCount, int pageSize, string conditions, string certList, string areaCode)
        {
            return null;
        }
        /// <summary>
        /// 按证书类别分组取得人员数目
        /// </summary>
        /// <param name="conditions"></param>
        /// <param name="areaCode"></param>
        /// <returns></returns>
        public virtual int GetEmpManagerByCertCount(string conditions, string certList, string areaCode)
        {
            return 0;
        }

        /// <summary>
        /// 获得职称人员列表
        /// </summary>
        /// <param name="pageCount"></param>
        /// <param name="pageSize"></param>
        /// <param name="conditions"></param>
        /// <param name="certList"></param>
        /// <param name="areaCode"></param>
        /// <param name="count"></param>
        /// <returns></returns>
        public virtual List<DTO.tb_Emp_Manager> GetEmpManagerPostList(int pageCount, int pageSize, string conditions, string certList, string areaCode, out int count)
        {
            count = 0;
            return null;
        }

        /// <summary>
        /// 职称信息上报
        /// </summary>
        /// <param name="empGuid"></param>
        /// <param name="areaCode"></param>
        /// <returns></returns>
        public virtual DTO.OperationResult EmpPostPost(string empGuid, string areaCode)
        {
            return null;
        }
        /// <summary>
        /// 通过EmpGuid获取人员职称信息
        /// </summary>
        /// <param name="empGuid"></param>
        /// <param name="areaCode"></param>
        /// <returns></returns>
        public virtual DTO.Tb_Emp_Post GetEmpPostByEmpGuid(string empGuid, string areaCode)
        {
            return null;
        }
        /// <summary>
        /// 检查能否上报职称信息
        /// </summary>
        /// <param name="empGuid"></param>
        /// <param name="areaCode"></param>
        /// <returns></returns>
        public virtual DTO.OperationResult CheckEmpPostPostRight(string empGuid, string areaCode)
        {
            return null;
        }

        public virtual List<DTO.tb_Emp_Manager> GetEmpManagerRepeat(string idCard, string areaCode)
        {
            return null;
        }
        /// <summary>
        /// 获得全部人员列表
        /// </summary>
        /// <param name="pageCount"></param>
        /// <param name="pageSize"></param>
        /// <param name="empguid"></param>
        /// <param name="areaCode"></param>
        /// <returns></returns>
        public virtual IList<DTO.tb_Emp_Manager> GetAllEmpManagerList(string conditions, int pageCount, int pageSize, string corpguid, string areaCode, out int count)
        {
            count = 5;
            return null;
        }

        public virtual DTO.OperationResult GetCorpManager(string corpUserGuid, string areaCode)
        {
            return null;
        }
        #endregion
    }

    #region DTO类
    public class ManagerModel
    {
        public Guid EmpGuid { get; set; }
        public Guid? CorpGuid { get; set; }
        public Int32 ID { get; set; }
        public Int32? ClassId { get; set; }
        public String Name { get; set; }
        public Byte? Sex { get; set; }
        public String IDCard { get; set; }
        public String Tel { get; set; }
        public Int16? SpecialityID { get; set; }
        public String SpecialityTxt { get; set; }
        public String Duty { get; set; }
        public String DutyLevel { get; set; }
        public String Education { get; set; }
        public DateTime? StartTime { get; set; }
        public String InsuranceNum { get; set; }
        public String Remark { get; set; }
        public Int32? IsLeave { get; set; }
        public String FlowCode { get; set; }
        public String TypeFlagName { get; set; }
        public String corpName { get; set; }
        public String TypeFlag { get; set; }
        public String zbdlBusinesscode { get; set; }
    }

    public class PersonStatisModel
    {
        public String TypeFlag { get; set; }
        public String TypeFlagName { get; set; }
        public Int32? Count { get; set; }
    }
    #endregion
}
